projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c165890
)
flowbox: Make the children focusable again
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 May 2020 22:27:18 +0000
(18:27 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 May 2020 22:27:18 +0000
(18:27 -0400)
This broke when the :focusable property was introduced.
The symptom was that keynav in the Emoji chooser did
not work anymore.
gtk/gtkflowbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkflowbox.c
b/gtk/gtkflowbox.c
index f5afde78fb33ae2fcb0abfae604cb29dda152989..26b78e3fa38525de6eb0653c0c435ca4acc27945 100644
(file)
--- a/
gtk/gtkflowbox.c
+++ b/
gtk/gtkflowbox.c
@@
-545,8
+545,9
@@
gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class)
static void
gtk_flow_box_child_init (GtkFlowBoxChild *child)
{
+ gtk_widget_set_focusable (GTK_WIDGET (child), TRUE);
}
-
+
/* Public API {{{2 */
/**